package Dao;

import domain.User;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public interface UserDao {
    public List<User> findUserByUsername(String username);

    public void addUser(User user);

    public void updateUser(User user);

    public void deleteUser(String username);

    /**
     * 模糊查询用户
     * @return
     */
    public List<User> fuzztSelectUser(HashMap<String,String> map);

    public List<User> userList();
}
